package cn.iocoder.yudao.module.ai.controller.admin.datasetmark.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import javax.validation.constraints.*;

@Schema(description = "管理后台 - 数据集标注行新增/修改 Request VO")
@Data
public class DatasetMarkSaveReqVO {

    @Schema(description = "编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "10104")
    private Long id;

    @Schema(description = "数据集编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "23346")
    @NotNull(message = "数据集编号不能为空")
    private Long datasetId;

    @Schema(description = "标注文件编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "30968")
    @NotNull(message = "标注文件编号不能为空")
    private Long markFileId;

    @Schema(description = "被标注的原始文件编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "21853")
    @NotNull(message = "被标注的原始文件编号不能为空")
    private Long markOriginalFileId;

    @Schema(description = "标签的顺序号")
    private Integer labelIndex;

    @Schema(description = "标注内容，格式[0.5,0.6]", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "标注内容，格式[0.5,0.6]不能为空")
    private String markContent;

    @Schema(description = "顺序号")
    private Integer sortNum;

}